<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9"/>
<title>NGUI: PropertyBinding Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI
   &#160;<span id="projectnumber">3.11.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_property_binding.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_property_binding-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PropertyBinding Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Property binding lets you bind two fields or properties so that changing one will update the other.  
 <a href="class_property_binding.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for PropertyBinding:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_property_binding.png" usemap="#PropertyBinding_map" alt=""/>
  <map id="PropertyBinding_map" name="PropertyBinding_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a052e97e92fdecfa3ffc469240514469a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a052e97e92fdecfa3ffc469240514469a"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>UpdateCondition</b> { <b>OnStart</b>, 
<b>OnUpdate</b>, 
<b>OnLateUpdate</b>, 
<b>OnFixedUpdate</b>
 }</td></tr>
<tr class="separator:a052e97e92fdecfa3ffc469240514469a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dc506b32049bb9d0101958920596274"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3dc506b32049bb9d0101958920596274"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Direction</b> { <b>SourceUpdatesTarget</b>, 
<b>TargetUpdatesSource</b>, 
<b>BiDirectional</b>
 }</td></tr>
<tr class="separator:a3dc506b32049bb9d0101958920596274"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abe5e316bf097e13098fb06dc1158bd0c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_property_binding.html#abe5e316bf097e13098fb06dc1158bd0c">UpdateTarget</a> ()</td></tr>
<tr class="memdesc:abe5e316bf097e13098fb06dc1158bd0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Immediately update the bound data.  <a href="#abe5e316bf097e13098fb06dc1158bd0c">More...</a><br /></td></tr>
<tr class="separator:abe5e316bf097e13098fb06dc1158bd0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a08305d38b64c2a8b06972ab8c62ab600"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_property_reference.html">PropertyReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_property_binding.html#a08305d38b64c2a8b06972ab8c62ab600">source</a></td></tr>
<tr class="memdesc:a08305d38b64c2a8b06972ab8c62ab600"><td class="mdescLeft">&#160;</td><td class="mdescRight">First property reference.  <a href="#a08305d38b64c2a8b06972ab8c62ab600">More...</a><br /></td></tr>
<tr class="separator:a08305d38b64c2a8b06972ab8c62ab600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46cb0a2a3581b39a502e198996a2bd07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_property_reference.html">PropertyReference</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_property_binding.html#a46cb0a2a3581b39a502e198996a2bd07">target</a></td></tr>
<tr class="memdesc:a46cb0a2a3581b39a502e198996a2bd07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Second property reference.  <a href="#a46cb0a2a3581b39a502e198996a2bd07">More...</a><br /></td></tr>
<tr class="separator:a46cb0a2a3581b39a502e198996a2bd07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a143f9da5262a523413f503c34dfab32b"><td class="memItemLeft" align="right" valign="top">Direction&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_property_binding.html#a143f9da5262a523413f503c34dfab32b">direction</a> = Direction.SourceUpdatesTarget</td></tr>
<tr class="memdesc:a143f9da5262a523413f503c34dfab32b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Direction of updates.  <a href="#a143f9da5262a523413f503c34dfab32b">More...</a><br /></td></tr>
<tr class="separator:a143f9da5262a523413f503c34dfab32b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e599ecb09c32228b7ff29c948925e61"><td class="memItemLeft" align="right" valign="top">UpdateCondition&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_property_binding.html#a1e599ecb09c32228b7ff29c948925e61">update</a> = UpdateCondition.OnUpdate</td></tr>
<tr class="memdesc:a1e599ecb09c32228b7ff29c948925e61"><td class="mdescLeft">&#160;</td><td class="mdescRight">When the property update will occur.  <a href="#a1e599ecb09c32228b7ff29c948925e61">More...</a><br /></td></tr>
<tr class="separator:a1e599ecb09c32228b7ff29c948925e61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb55e78a1cb6eb201a77e65d0b6e5769"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_property_binding.html#afb55e78a1cb6eb201a77e65d0b6e5769">editMode</a> = true</td></tr>
<tr class="memdesc:afb55e78a1cb6eb201a77e65d0b6e5769"><td class="mdescLeft">&#160;</td><td class="mdescRight">Whether the values will update while in edit mode.  <a href="#afb55e78a1cb6eb201a77e65d0b6e5769">More...</a><br /></td></tr>
<tr class="separator:afb55e78a1cb6eb201a77e65d0b6e5769"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Property binding lets you bind two fields or properties so that changing one will update the other. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="abe5e316bf097e13098fb06dc1158bd0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PropertyBinding.UpdateTarget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Immediately update the bound data. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a143f9da5262a523413f503c34dfab32b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Direction PropertyBinding.direction = Direction.SourceUpdatesTarget</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Direction of updates. </p>

</div>
</div>
<a class="anchor" id="afb55e78a1cb6eb201a77e65d0b6e5769"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool PropertyBinding.editMode = true</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Whether the values will update while in edit mode. </p>

</div>
</div>
<a class="anchor" id="a08305d38b64c2a8b06972ab8c62ab600"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_property_reference.html">PropertyReference</a> PropertyBinding.source</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>First property reference. </p>

</div>
</div>
<a class="anchor" id="a46cb0a2a3581b39a502e198996a2bd07"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_property_reference.html">PropertyReference</a> PropertyBinding.target</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Second property reference. </p>

</div>
</div>
<a class="anchor" id="a1e599ecb09c32228b7ff29c948925e61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UpdateCondition PropertyBinding.update = UpdateCondition.OnUpdate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>When the property update will occur. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/WorkDir/Unity3D_Work/taidou_arpg/Assets/NGUI/Scripts/Internal/PropertyBinding.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_property_binding.html">PropertyBinding</a></li>
    <li class="footer">Generated on Sat Jan 4 2020 22:30:27 for NGUI by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9 </li>
  </ul>
</div>
</body>
</html>
